import Double from './Double';

export default interface ColumnDO {
  id?: number;
  createTime?: Date;
  updateTime?: Date;
  schemaName?: string;
  tableName?: string;
  tableId?: number;
  columnName?: string;
  columnType?: string;
  columnFullType?: string;
  columnDefault?: string;
  columnComment?: string;
  ordinalPosition?: number;
  charMaxLength?: number;
  numMaxLength?: number;
  numScale?: number;
  fieldType?: string;
  nullable?: boolean;
  isPk?: boolean;
  isUnsigned?: boolean;
  autoIncrement?: boolean;
  autoTimeOnCreate?: boolean;
  autoTimeOnUpdate?: boolean;
  status?: number;
  fieldName?: string;
  searchEnable?: boolean;
  searchType?: string;
  searchComponent?: string;
  searchEnterEnable?: boolean;
  searchLabel?: string;
  listEnable?: boolean;
  listLabel?: string;
  listWidth?: Double;
  listAlign?: string;
  listComponent?: string;
  listExportEnable?: boolean;
  listImportEnable?: boolean;
  listBatchDeleteEnable?: boolean;
  listShowIdx?: boolean;
  editInsertEnable?: boolean;
  editUpdateEnable?: boolean;
  editUpdateDisable?: boolean;
  editRequired?: boolean;
  editLabel?: string;
  editDefault?: string;
  searchWidth?: number;
}
